/**
 */
package org.mro.grib.model.files.secondEdition.products.impl;

import java.nio.ByteBuffer;

import org.eclipse.emf.common.notify.Notification;

import org.eclipse.emf.ecore.EClass;

import org.eclipse.emf.ecore.impl.ENotificationImpl;

import org.mro.grib.model.files.secondEdition.products.ProductDefinitionTemplate41001;
import org.mro.grib.model.files.secondEdition.products.ProductsPackage;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model object '<em><b>Product Definition Template41001</b></em>'.
 * <!-- end-user-doc -->
 * <p>
 * The following features are implemented:
 * <ul>
 *   <li>{@link org.mro.grib.model.files.secondEdition.products.impl.ProductDefinitionTemplate41001Impl#getTotalNumberOfDataValuesMissing <em>Total Number Of Data Values Missing</em>}</li>
 *   <li>{@link org.mro.grib.model.files.secondEdition.products.impl.ProductDefinitionTemplate41001Impl#getStatisticalProcess <em>Statistical Process</em>}</li>
 *   <li>{@link org.mro.grib.model.files.secondEdition.products.impl.ProductDefinitionTemplate41001Impl#getTypeOfTimeIncrementBetweenSuccessiveFields <em>Type Of Time Increment Between Successive Fields</em>}</li>
 *   <li>{@link org.mro.grib.model.files.secondEdition.products.impl.ProductDefinitionTemplate41001Impl#getIndicatorOfUnitOfTimeForTimeRange <em>Indicator Of Unit Of Time For Time Range</em>}</li>
 *   <li>{@link org.mro.grib.model.files.secondEdition.products.impl.ProductDefinitionTemplate41001Impl#getLengthOfTheTimeRange <em>Length Of The Time Range</em>}</li>
 *   <li>{@link org.mro.grib.model.files.secondEdition.products.impl.ProductDefinitionTemplate41001Impl#getIndicatorOfUnitOfTimeForIncrement <em>Indicator Of Unit Of Time For Increment</em>}</li>
 *   <li>{@link org.mro.grib.model.files.secondEdition.products.impl.ProductDefinitionTemplate41001Impl#getTimeIncrementBetweenSuccessiveFields <em>Time Increment Between Successive Fields</em>}</li>
 * </ul>
 * </p>
 *
 * @generated
 */
public class ProductDefinitionTemplate41001Impl extends ProductDefinitionTemplate41000Impl implements ProductDefinitionTemplate41001 {
	/**
	 * The default value of the '{@link #getTotalNumberOfDataValuesMissing() <em>Total Number Of Data Values Missing</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getTotalNumberOfDataValuesMissing()
	 * @generated
	 * @ordered
	 */
	protected static final int TOTAL_NUMBER_OF_DATA_VALUES_MISSING_EDEFAULT = 0;

	/**
	 * The cached value of the '{@link #getTotalNumberOfDataValuesMissing() <em>Total Number Of Data Values Missing</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getTotalNumberOfDataValuesMissing()
	 * @generated
	 * @ordered
	 */
	protected int totalNumberOfDataValuesMissing = TOTAL_NUMBER_OF_DATA_VALUES_MISSING_EDEFAULT;

	/**
	 * The default value of the '{@link #getStatisticalProcess() <em>Statistical Process</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getStatisticalProcess()
	 * @generated
	 * @ordered
	 */
	protected static final byte STATISTICAL_PROCESS_EDEFAULT = 0x00;

	/**
	 * The cached value of the '{@link #getStatisticalProcess() <em>Statistical Process</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getStatisticalProcess()
	 * @generated
	 * @ordered
	 */
	protected byte statisticalProcess = STATISTICAL_PROCESS_EDEFAULT;

	/**
	 * The default value of the '{@link #getTypeOfTimeIncrementBetweenSuccessiveFields() <em>Type Of Time Increment Between Successive Fields</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getTypeOfTimeIncrementBetweenSuccessiveFields()
	 * @generated
	 * @ordered
	 */
	protected static final byte TYPE_OF_TIME_INCREMENT_BETWEEN_SUCCESSIVE_FIELDS_EDEFAULT = 0x00;

	/**
	 * The cached value of the '{@link #getTypeOfTimeIncrementBetweenSuccessiveFields() <em>Type Of Time Increment Between Successive Fields</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getTypeOfTimeIncrementBetweenSuccessiveFields()
	 * @generated
	 * @ordered
	 */
	protected byte typeOfTimeIncrementBetweenSuccessiveFields = TYPE_OF_TIME_INCREMENT_BETWEEN_SUCCESSIVE_FIELDS_EDEFAULT;

	/**
	 * The default value of the '{@link #getIndicatorOfUnitOfTimeForTimeRange() <em>Indicator Of Unit Of Time For Time Range</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getIndicatorOfUnitOfTimeForTimeRange()
	 * @generated
	 * @ordered
	 */
	protected static final byte INDICATOR_OF_UNIT_OF_TIME_FOR_TIME_RANGE_EDEFAULT = 0x00;

	/**
	 * The cached value of the '{@link #getIndicatorOfUnitOfTimeForTimeRange() <em>Indicator Of Unit Of Time For Time Range</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getIndicatorOfUnitOfTimeForTimeRange()
	 * @generated
	 * @ordered
	 */
	protected byte indicatorOfUnitOfTimeForTimeRange = INDICATOR_OF_UNIT_OF_TIME_FOR_TIME_RANGE_EDEFAULT;

	/**
	 * The default value of the '{@link #getLengthOfTheTimeRange() <em>Length Of The Time Range</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getLengthOfTheTimeRange()
	 * @generated
	 * @ordered
	 */
	protected static final int LENGTH_OF_THE_TIME_RANGE_EDEFAULT = 0;

	/**
	 * The cached value of the '{@link #getLengthOfTheTimeRange() <em>Length Of The Time Range</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getLengthOfTheTimeRange()
	 * @generated
	 * @ordered
	 */
	protected int lengthOfTheTimeRange = LENGTH_OF_THE_TIME_RANGE_EDEFAULT;

	/**
	 * The default value of the '{@link #getIndicatorOfUnitOfTimeForIncrement() <em>Indicator Of Unit Of Time For Increment</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getIndicatorOfUnitOfTimeForIncrement()
	 * @generated
	 * @ordered
	 */
	protected static final byte INDICATOR_OF_UNIT_OF_TIME_FOR_INCREMENT_EDEFAULT = 0x00;

	/**
	 * The cached value of the '{@link #getIndicatorOfUnitOfTimeForIncrement() <em>Indicator Of Unit Of Time For Increment</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getIndicatorOfUnitOfTimeForIncrement()
	 * @generated
	 * @ordered
	 */
	protected byte indicatorOfUnitOfTimeForIncrement = INDICATOR_OF_UNIT_OF_TIME_FOR_INCREMENT_EDEFAULT;

	/**
	 * The default value of the '{@link #getTimeIncrementBetweenSuccessiveFields() <em>Time Increment Between Successive Fields</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getTimeIncrementBetweenSuccessiveFields()
	 * @generated
	 * @ordered
	 */
	protected static final int TIME_INCREMENT_BETWEEN_SUCCESSIVE_FIELDS_EDEFAULT = 0;

	/**
	 * The cached value of the '{@link #getTimeIncrementBetweenSuccessiveFields() <em>Time Increment Between Successive Fields</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getTimeIncrementBetweenSuccessiveFields()
	 * @generated
	 * @ordered
	 */
	protected int timeIncrementBetweenSuccessiveFields = TIME_INCREMENT_BETWEEN_SUCCESSIVE_FIELDS_EDEFAULT;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ProductDefinitionTemplate41001Impl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected EClass eStaticClass() {
		return ProductsPackage.Literals.PRODUCT_DEFINITION_TEMPLATE41001;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getTotalNumberOfDataValuesMissing() {
		return totalNumberOfDataValuesMissing;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setTotalNumberOfDataValuesMissing(int newTotalNumberOfDataValuesMissing) {
		int oldTotalNumberOfDataValuesMissing = totalNumberOfDataValuesMissing;
		totalNumberOfDataValuesMissing = newTotalNumberOfDataValuesMissing;
		if (eNotificationRequired())
			eNotify(new ENotificationImpl(this, Notification.SET, ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__TOTAL_NUMBER_OF_DATA_VALUES_MISSING, oldTotalNumberOfDataValuesMissing, totalNumberOfDataValuesMissing));
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public byte getStatisticalProcess() {
		return statisticalProcess;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setStatisticalProcess(byte newStatisticalProcess) {
		byte oldStatisticalProcess = statisticalProcess;
		statisticalProcess = newStatisticalProcess;
		if (eNotificationRequired())
			eNotify(new ENotificationImpl(this, Notification.SET, ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__STATISTICAL_PROCESS, oldStatisticalProcess, statisticalProcess));
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public byte getTypeOfTimeIncrementBetweenSuccessiveFields() {
		return typeOfTimeIncrementBetweenSuccessiveFields;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setTypeOfTimeIncrementBetweenSuccessiveFields(byte newTypeOfTimeIncrementBetweenSuccessiveFields) {
		byte oldTypeOfTimeIncrementBetweenSuccessiveFields = typeOfTimeIncrementBetweenSuccessiveFields;
		typeOfTimeIncrementBetweenSuccessiveFields = newTypeOfTimeIncrementBetweenSuccessiveFields;
		if (eNotificationRequired())
			eNotify(new ENotificationImpl(this, Notification.SET, ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__TYPE_OF_TIME_INCREMENT_BETWEEN_SUCCESSIVE_FIELDS, oldTypeOfTimeIncrementBetweenSuccessiveFields, typeOfTimeIncrementBetweenSuccessiveFields));
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public byte getIndicatorOfUnitOfTimeForTimeRange() {
		return indicatorOfUnitOfTimeForTimeRange;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setIndicatorOfUnitOfTimeForTimeRange(byte newIndicatorOfUnitOfTimeForTimeRange) {
		byte oldIndicatorOfUnitOfTimeForTimeRange = indicatorOfUnitOfTimeForTimeRange;
		indicatorOfUnitOfTimeForTimeRange = newIndicatorOfUnitOfTimeForTimeRange;
		if (eNotificationRequired())
			eNotify(new ENotificationImpl(this, Notification.SET, ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__INDICATOR_OF_UNIT_OF_TIME_FOR_TIME_RANGE, oldIndicatorOfUnitOfTimeForTimeRange, indicatorOfUnitOfTimeForTimeRange));
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getLengthOfTheTimeRange() {
		return lengthOfTheTimeRange;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setLengthOfTheTimeRange(int newLengthOfTheTimeRange) {
		int oldLengthOfTheTimeRange = lengthOfTheTimeRange;
		lengthOfTheTimeRange = newLengthOfTheTimeRange;
		if (eNotificationRequired())
			eNotify(new ENotificationImpl(this, Notification.SET, ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__LENGTH_OF_THE_TIME_RANGE, oldLengthOfTheTimeRange, lengthOfTheTimeRange));
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public byte getIndicatorOfUnitOfTimeForIncrement() {
		return indicatorOfUnitOfTimeForIncrement;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setIndicatorOfUnitOfTimeForIncrement(byte newIndicatorOfUnitOfTimeForIncrement) {
		byte oldIndicatorOfUnitOfTimeForIncrement = indicatorOfUnitOfTimeForIncrement;
		indicatorOfUnitOfTimeForIncrement = newIndicatorOfUnitOfTimeForIncrement;
		if (eNotificationRequired())
			eNotify(new ENotificationImpl(this, Notification.SET, ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__INDICATOR_OF_UNIT_OF_TIME_FOR_INCREMENT, oldIndicatorOfUnitOfTimeForIncrement, indicatorOfUnitOfTimeForIncrement));
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getTimeIncrementBetweenSuccessiveFields() {
		return timeIncrementBetweenSuccessiveFields;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setTimeIncrementBetweenSuccessiveFields(int newTimeIncrementBetweenSuccessiveFields) {
		int oldTimeIncrementBetweenSuccessiveFields = timeIncrementBetweenSuccessiveFields;
		timeIncrementBetweenSuccessiveFields = newTimeIncrementBetweenSuccessiveFields;
		if (eNotificationRequired())
			eNotify(new ENotificationImpl(this, Notification.SET, ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__TIME_INCREMENT_BETWEEN_SUCCESSIVE_FIELDS, oldTimeIncrementBetweenSuccessiveFields, timeIncrementBetweenSuccessiveFields));
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
		switch (featureID) {
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__TOTAL_NUMBER_OF_DATA_VALUES_MISSING:
				return getTotalNumberOfDataValuesMissing();
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__STATISTICAL_PROCESS:
				return getStatisticalProcess();
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__TYPE_OF_TIME_INCREMENT_BETWEEN_SUCCESSIVE_FIELDS:
				return getTypeOfTimeIncrementBetweenSuccessiveFields();
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__INDICATOR_OF_UNIT_OF_TIME_FOR_TIME_RANGE:
				return getIndicatorOfUnitOfTimeForTimeRange();
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__LENGTH_OF_THE_TIME_RANGE:
				return getLengthOfTheTimeRange();
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__INDICATOR_OF_UNIT_OF_TIME_FOR_INCREMENT:
				return getIndicatorOfUnitOfTimeForIncrement();
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__TIME_INCREMENT_BETWEEN_SUCCESSIVE_FIELDS:
				return getTimeIncrementBetweenSuccessiveFields();
		}
		return super.eGet(featureID, resolve, coreType);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public void eSet(int featureID, Object newValue) {
		switch (featureID) {
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__TOTAL_NUMBER_OF_DATA_VALUES_MISSING:
				setTotalNumberOfDataValuesMissing((Integer)newValue);
				return;
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__STATISTICAL_PROCESS:
				setStatisticalProcess((Byte)newValue);
				return;
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__TYPE_OF_TIME_INCREMENT_BETWEEN_SUCCESSIVE_FIELDS:
				setTypeOfTimeIncrementBetweenSuccessiveFields((Byte)newValue);
				return;
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__INDICATOR_OF_UNIT_OF_TIME_FOR_TIME_RANGE:
				setIndicatorOfUnitOfTimeForTimeRange((Byte)newValue);
				return;
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__LENGTH_OF_THE_TIME_RANGE:
				setLengthOfTheTimeRange((Integer)newValue);
				return;
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__INDICATOR_OF_UNIT_OF_TIME_FOR_INCREMENT:
				setIndicatorOfUnitOfTimeForIncrement((Byte)newValue);
				return;
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__TIME_INCREMENT_BETWEEN_SUCCESSIVE_FIELDS:
				setTimeIncrementBetweenSuccessiveFields((Integer)newValue);
				return;
		}
		super.eSet(featureID, newValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public void eUnset(int featureID) {
		switch (featureID) {
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__TOTAL_NUMBER_OF_DATA_VALUES_MISSING:
				setTotalNumberOfDataValuesMissing(TOTAL_NUMBER_OF_DATA_VALUES_MISSING_EDEFAULT);
				return;
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__STATISTICAL_PROCESS:
				setStatisticalProcess(STATISTICAL_PROCESS_EDEFAULT);
				return;
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__TYPE_OF_TIME_INCREMENT_BETWEEN_SUCCESSIVE_FIELDS:
				setTypeOfTimeIncrementBetweenSuccessiveFields(TYPE_OF_TIME_INCREMENT_BETWEEN_SUCCESSIVE_FIELDS_EDEFAULT);
				return;
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__INDICATOR_OF_UNIT_OF_TIME_FOR_TIME_RANGE:
				setIndicatorOfUnitOfTimeForTimeRange(INDICATOR_OF_UNIT_OF_TIME_FOR_TIME_RANGE_EDEFAULT);
				return;
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__LENGTH_OF_THE_TIME_RANGE:
				setLengthOfTheTimeRange(LENGTH_OF_THE_TIME_RANGE_EDEFAULT);
				return;
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__INDICATOR_OF_UNIT_OF_TIME_FOR_INCREMENT:
				setIndicatorOfUnitOfTimeForIncrement(INDICATOR_OF_UNIT_OF_TIME_FOR_INCREMENT_EDEFAULT);
				return;
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__TIME_INCREMENT_BETWEEN_SUCCESSIVE_FIELDS:
				setTimeIncrementBetweenSuccessiveFields(TIME_INCREMENT_BETWEEN_SUCCESSIVE_FIELDS_EDEFAULT);
				return;
		}
		super.eUnset(featureID);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public boolean eIsSet(int featureID) {
		switch (featureID) {
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__TOTAL_NUMBER_OF_DATA_VALUES_MISSING:
				return totalNumberOfDataValuesMissing != TOTAL_NUMBER_OF_DATA_VALUES_MISSING_EDEFAULT;
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__STATISTICAL_PROCESS:
				return statisticalProcess != STATISTICAL_PROCESS_EDEFAULT;
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__TYPE_OF_TIME_INCREMENT_BETWEEN_SUCCESSIVE_FIELDS:
				return typeOfTimeIncrementBetweenSuccessiveFields != TYPE_OF_TIME_INCREMENT_BETWEEN_SUCCESSIVE_FIELDS_EDEFAULT;
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__INDICATOR_OF_UNIT_OF_TIME_FOR_TIME_RANGE:
				return indicatorOfUnitOfTimeForTimeRange != INDICATOR_OF_UNIT_OF_TIME_FOR_TIME_RANGE_EDEFAULT;
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__LENGTH_OF_THE_TIME_RANGE:
				return lengthOfTheTimeRange != LENGTH_OF_THE_TIME_RANGE_EDEFAULT;
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__INDICATOR_OF_UNIT_OF_TIME_FOR_INCREMENT:
				return indicatorOfUnitOfTimeForIncrement != INDICATOR_OF_UNIT_OF_TIME_FOR_INCREMENT_EDEFAULT;
			case ProductsPackage.PRODUCT_DEFINITION_TEMPLATE41001__TIME_INCREMENT_BETWEEN_SUCCESSIVE_FIELDS:
				return timeIncrementBetweenSuccessiveFields != TIME_INCREMENT_BETWEEN_SUCCESSIVE_FIELDS_EDEFAULT;
		}
		return super.eIsSet(featureID);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		if (eIsProxy()) return super.toString();

		StringBuffer result = new StringBuffer(super.toString());
		result.append(" (totalNumberOfDataValuesMissing: "); //$NON-NLS-1$
		result.append(totalNumberOfDataValuesMissing);
		result.append(", statisticalProcess: "); //$NON-NLS-1$
		result.append(statisticalProcess);
		result.append(", typeOfTimeIncrementBetweenSuccessiveFields: "); //$NON-NLS-1$
		result.append(typeOfTimeIncrementBetweenSuccessiveFields);
		result.append(", indicatorOfUnitOfTimeForTimeRange: "); //$NON-NLS-1$
		result.append(indicatorOfUnitOfTimeForTimeRange);
		result.append(", lengthOfTheTimeRange: "); //$NON-NLS-1$
		result.append(lengthOfTheTimeRange);
		result.append(", indicatorOfUnitOfTimeForIncrement: "); //$NON-NLS-1$
		result.append(indicatorOfUnitOfTimeForIncrement);
		result.append(", timeIncrementBetweenSuccessiveFields: "); //$NON-NLS-1$
		result.append(timeIncrementBetweenSuccessiveFields);
		result.append(')');
		return result.toString();
	}

	/* (non-Javadoc)
	 * @see org.mro.grib.model.files.secondEdition.products.impl.ProductDefinitionTemplate41000Impl#initialise(java.nio.ByteBuffer)
	 */
	@Override
	public void initialise(ByteBuffer buffer) {
		super.initialise(buffer);
		totalNumberOfDataValuesMissing = buffer.getInt();
		statisticalProcess = buffer.get();
		typeOfTimeIncrementBetweenSuccessiveFields = buffer.get();
		indicatorOfUnitOfTimeForTimeRange = buffer.get();
		lengthOfTheTimeRange = buffer.getInt();
		indicatorOfUnitOfTimeForIncrement = buffer.get();
		timeIncrementBetweenSuccessiveFields = buffer.getInt();
	}
	
} //ProductDefinitionTemplate41001Impl
